package com.sharkburner.common.component;

import com.vaadin.ui.Component;
import com.vaadin.ui.HorizontalLayout;

/**
 * 
 * @author inartea
 * 
 */
public class MenuBar extends HorizontalLayout {
    /**
     * 
     */
    private static final long serialVersionUID = 3258870730596086956L;
    private final HorizontalLayout leftArrage;
    private final HorizontalLayout rightArrage;

    public MenuBar() {
	leftArrage = new HorizontalLayout();
	rightArrage = new HorizontalLayout();

	addComponent(leftArrage);
	addComponent(rightArrage);
    }

    public void addLeft(Component component) {
	leftArrage.addComponent(component);
    }

    public void addRight(Component component) {
	rightArrage.addComponent(component);
    }
}
